package com.jielihaofeng.cosmic.event;

import java.util.Map;

/**
 * @author Johnnie Wind
 * @description
 * @date 2021/11/29 09:40
 */
public class BeforeClickEvent extends ClickEvent {

    private static final long serialVersionUID = -1L;
    private boolean isCancel = false;

    public BeforeClickEvent(Object source) {
        super(source);
    }

    public BeforeClickEvent(Object source, Object source1, Map<String, Object> paramsMap) {
        super(source, source1, paramsMap);
    }

    public boolean isCancel() {
        return isCancel;
    }

    public void setCancel(boolean cancel) {
        isCancel = cancel;
    }
}
